/*
 * @Description: 字典管理列表接口
 * @Author: Boide
 * @Date: 2021-09-02 17:16:09
 * @LastEditors: guiyi@hongyi.tech
 * @LastEditTime: 2021-09-02 19:00:36
 */
import http from '@/utils/request'

// 分页查询
export const paramsListPage = (data) => http.postJson('/params/listPage', data)

// 查询详情
export const paramsGetId = (id) => http.get(`/params/get/${id}`)

// 新增字典
export const paramsAdd = (data) => http.postJson('/params/add', data)

// 修改字典
export const paramsUpdate = (data) => http.putJson('/params/edit', data)

// 删除
export const paramsDel = (id) => http.delete(`/params/del/${id}`)
